package com.zfei.gfb.dao;

import com.zfei.gfb.model.GfbGreenPlot;
import com.zfei.gfb.query.GfbGreenPlotQuery;
import com.zfei.gfb.query.h5.H5GreenPlotQuery;

import java.util.List;

public interface GfbGreenPlotMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GfbGreenPlot record);

    int insertSelective(GfbGreenPlot record);

    GfbGreenPlot selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GfbGreenPlot record);

    int updateByPrimaryKeyWithBLOBs(GfbGreenPlot record);

    int updateByPrimaryKey(GfbGreenPlot record);

    List<GfbGreenPlot> list(GfbGreenPlotQuery record);

    List<GfbGreenPlot> listH5(H5GreenPlotQuery record);

    int total(GfbGreenPlotQuery record);

    List<GfbGreenPlot> list(List ids);

    List<GfbGreenPlot> selectByIds(List<Integer> greenIds);

    int totalH5(H5GreenPlotQuery query);
}